home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / ebay.xml < prev    next >
Text File  |  2002-08-30  |  1KB  |  49 lines

  1. <search function="ebay">
  2.   <name>eBay</name>
  3.   <description>
  4.     Search eBay by description or by item number.<br/>
  5.     <div class="helpboxDescLabels">Examples:</div>
  6.     <table class="helpboxDescTable">
  7.           <tr><td>ebay guitars</td></tr>
  8.       <tr><td>ebay 1503826268</td></tr>
  9.       </table>
  10.   </description>
  11.   <category>Shopping</category>
  12.   <link>http://www.ebay.com/</link>
  13.   <contributor>Ryan Edwards</contributor>
  14.   
  15.   <form name="ebayf"
  16.         action="http://search.ebay.com/search/search.dll"
  17.         method="get">
  18.     <input type="hidden" name="MfcISAPICommand" value="GetResult"/>
  19.     <input type="hidden" name="ht" value="1"/>
  20.     <input type="hidden" name="SortProperty" value="MetaEndSort"/>
  21.     <input type="hidden" name="query"/>
  22.   </form>
  23.   
  24.   <script><![CDATA[
  25.     function ebay(q)
  26.     {
  27.       var res = null;
  28.       
  29.       if( nullArgs("ebay",q) )
  30.         return false;
  31.       else if ( res = q.match( /^\s*(\d{9,})\s*$/ ) )
  32.       {
  33.         openSearchWindow('http://cgi.ebay.com/aw-cgi/eBayISAPI.dll?MfcISAPICommand=ViewItem&item=' + res[1]);
  34.       }
  35.       else
  36.       {
  37.         document.ebayf.query.value = q;
  38.         submitForm(ebayf);
  39.       }
  40.     }
  41.   ]]></script>
  42.  
  43.   <copyright>
  44.     Copyright (c) 2002 David Bau
  45.     Distributed under the terms of the
  46.     GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  47.   </copyright>
  48. </search>
  49.